import { IUser } from '@src/types/account';
import { useRootState } from '..';

// 获取user的rootState
export function useUserInfo(): IUser {
  return useRootState('user');
}
